/**
 * Copyright (c) 2020-2021 ThunderSoft
 * All Rights Reserved by Thunder Software Technology Co., Ltd and its affiliates.
 * You may not use, copy, distribute, modify, transmit in any form this file
 * except in compliance with ThunderSoft in writing by applicable law.
 *
 */
/**
 * @file    hal_iot_pwm.c
 * @brief   hal pwm funtion 
 * @details hal pwm funtion
 * @version 1.0
 * @author  Hu lei
 * @date    2021-03-05
 *
 * Edit History
 * ----------------------------------------------------------------------------
 * DATE                     NAME               DESCRIPTION
 * 2021-03-05               Hu lei              Create it.
 *
 */


#include "iot_errno.h"
#include "iot_pwm.h"
#include "bl602_pwm.h"
#include "bl_pwm.h"

#define UNUSED(x) ((void)(x))

unsigned int IoTPwmInit(unsigned int port)
{
    UNUSED(port);

    return IOT_SUCCESS;
}

unsigned int IoTPwmDeinit(unsigned int port)
{
    UNUSED(port);

    return IOT_SUCCESS;
}

unsigned int IoTPwmStart(unsigned int port, unsigned short duty, unsigned int freq)
{
    UNUSED(port);

    return IOT_SUCCESS;
}

unsigned int IoTPwmStop(unsigned int port)
{
    UNUSED(port);

    return IOT_SUCCESS;    
}

